package com.okq.entity;

import com.okq.entity.base.DataEntity;
import org.hibernate.annotations.DynamicInsert;
import org.hibernate.annotations.DynamicUpdate;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import java.io.Serializable;

/**
 * 描述 : 物流单表实体类
 * 作者 : zdl
 * 日期 : 2017/6/27 17:40
 */
@Entity
@DynamicInsert
@DynamicUpdate
@Table(name = "tb_logistics_sheet")
public class LogisticsSheet extends DataEntity implements Serializable {
    private static final long serialVersionUID = -7188814828959150543L;
    /**
     * 物流Id
     */
    @Column(name = "logisId", length = 40)
    private String logisId;
    /**
     * 物流单号
     */
    @Column(name = "logisNum", length = 20)
    private String logisNum;
    /**
     * 产品编号集合
     */
    @Column(name = "products", length = 500)
    private String products;
    /**
     * 包装人Id
     */
    @Column(name = "packingId", length = 40)
    private String packingId;
    /**
     * 包装时间
     */
    @Column(name = "packingTime")
    private String packingTime;
    /**
     * 发货人Id
     */
    @Column(name = "deliverId", length = 40)
    private String deliverId;
    /**
     * 发货时间
     */
    @Column(name = "deliverTime")
    private String deliverTime;
    /**
     * 签收人姓名
     */
    @Column(name = "signName", length = 10)
    private String signName;
    /**
     * 签收时间
     */
    @Column(name = "signTime")
    private String signTime;
    /**
     * 物流状态 0：待发货 1：运输中 2：派送中 3：已签收
     */
    @Column(name = "state")
    private Integer state;
    /**
     * 备注
     */
    @Column(name = "remark")
    private String remark;

    public String getLogisId() {
        return logisId;
    }

    public void setLogisId(String logisId) {
        this.logisId = logisId;
    }

    public String getLogisNum() {
        return logisNum;
    }

    public void setLogisNum(String logisNum) {
        this.logisNum = logisNum;
    }

    public String getProducts() {
        return products;
    }

    public void setProducts(String products) {
        this.products = products;
    }

    public String getPackingId() {
        return packingId;
    }

    public void setPackingId(String packingId) {
        this.packingId = packingId;
    }

    public String getPackingTime() {
        return packingTime;
    }

    public void setPackingTime(String packingTime) {
        this.packingTime = packingTime;
    }

    public String getDeliverId() {
        return deliverId;
    }

    public void setDeliverId(String deliverId) {
        this.deliverId = deliverId;
    }

    public String getDeliverTime() {
        return deliverTime;
    }

    public void setDeliverTime(String deliverTime) {
        this.deliverTime = deliverTime;
    }

    public String getSignName() {
        return signName;
    }

    public void setSignName(String signName) {
        this.signName = signName;
    }

    public String getSignTime() {
        return signTime;
    }

    public void setSignTime(String signTime) {
        this.signTime = signTime;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }
}
